home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / BackSpaceViews / SpheresView.BackModule / SpheresView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.0 KB  |  35 lines

  1. //
  2. // Spheres
  3. //
  4. // Module for BackSpace.app
  5. // 12 Dec 91
  6. // Revised for NS3.0 20 Oct 1992
  7. // Matt Pharr- pharr@cs.yale.edu
  8. //
  9.  
  10. #import <appkit/appkit.h>
  11. #import "Thinker.h"
  12.  
  13. @interface SpheresView:View
  14. {
  15.     int nSpheres;               /* number of spheres to draw before we clear
  16.                                    the screen */
  17.     int nDrawn;                 /* the number currently drawn since last clear */
  18.     BOOL showFills;             /* should be drawing be done on screen? */
  19.     id myImage;                 /* NXImage that we draw in */
  20.     id theSlider;        /* The slider to set the number to draw, on
  21.                                    the inspector panel */
  22.     id checkBox;                /* the check box where the user decides whether
  23.                                    or not to see the filling in on screen... */
  24.     id sharedInspectorPanel;    /* The inspector panel */
  25. }
  26.  
  27.  
  28. -initFrame:(const NXRect *)frameRect;
  29. -drawSelf:(const NXRect *)rects :(int)rectCount;
  30. -inspector:sender;
  31. -setNumber:sender;
  32. -setShowFills:sender;
  33.  
  34. @end
  35.